Skip to content

Comments

Adding Kiedybus rebranding flavour#1439

Closed
wkulesza wants to merge 16 commits intoOneBusAway:mainfrom
goeuropa:kiedybus
Closed

Adding Kiedybus rebranding flavour#1439
wkulesza wants to merge 16 commits intoOneBusAway:mainfrom
goeuropa:kiedybus

Conversation

@wkulesza
Copy link
Contributor

In order not to have to fork the code for all changes in OBA Android, I would like to add KiedyBus as a rebranding flavour to the main repo. I hope I did that correctly, as i needed to add to build.gradle, to google-services.json, create new project with icons and provide more translations.

@amrhossamdev
Copy link
Member

Hi @wkulesza can you figure out why tests fail?

@CLAassistant
Copy link

CLAassistant commented Jun 11, 2025

CLA assistant check
All committers have signed the CLA.

@aaronbrethorst aaronbrethorst requested a review from Copilot June 11, 2025 22:07
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds the KiedyBus rebranding flavour to the main repo so that a separate fork isn’t needed. The changes include new localized string resources, color themes, and updated build configuration for the KiedyBus variant.

  • Added KiedyBus‑specific XML resource files for strings, colors, arrays, and non-translatable values.
  • Updated google‑services.json with a new client configuration.
  • Extended build.gradle to include a new flavor block for KiedyBus.

Reviewed Changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
onebusaway-android/src/kiedybus/res/values/strings.xml Adds KiedyBus string resources and tutorial text.
onebusaway-android/src/kiedybus/res/values/do_not_translate.xml Provides non-translatable strings with updated endpoints.
onebusaway-android/src/kiedybus/res/values/colors.xml Introduces a new color palette for KiedyBus.
onebusaway-android/src/kiedybus/res/values-pl/arrays.xml Supplies Polish localized arrays and text for KiedyBus.
onebusaway-android/src/kiedybus/res/values-es/strings.xml Supplies Spanish localized strings with KiedyBus branding.
onebusaway-android/google-services.json Updates client configuration for the KiedyBus Android package.
onebusaway-android/build.gradle Adds a new flavor block with build configurations for KiedyBus.
Comments suppressed due to low confidence (2)

onebusaway-android/build.gradle:215

  • The comment references 'Agency X' instead of KiedyBus. Please update it to reflect the new KiedyBus rebranding to avoid confusion.
// "Agency X" rebranding OneBusAway as another app - see src/agencyX/res for branded resources

onebusaway-android/src/kiedybus/res/values-es/strings.xml:26

  • The word 'esta' should have an accent ('está') to correctly reflect Spanish spelling.
<string name="tutorial_arrival_header_arrival_info_text">¡Largo tiempo! El color de fondo te indica si el bus esta adelantado (rojo) o va atrasado (azul oscuro). Si es azul claro se encuentra a tiempo.

@amrhossamdev
Copy link
Member

Well done @wkulesza can you verify that google maps works with the kiedy bus build ? it dosen't seem it works for me !

aaronbrethorst added a commit that referenced this pull request Jan 29, 2026
Refactor build.gradle to use external flavor configuration files:
- Move oba, agencyX, agencyY flavors to flavors/*.gradle files
- Add auto-loader that applies all *.gradle files from flavors/
- Reduces build.gradle by ~130 lines, improves maintainability

Add KiedyBus (Poland) white-label brand using placeholder system:
- Minimal resources: only app_name override needed (~5 lines vs 664 in original PR)
- Blue theme (#2196F3), custom regions API, Polish locale support
- Launcher icons extracted from PR #1439

This demonstrates the scalable white-label architecture where new brands
only need a flavor config file and minimal resource overrides.
@aaronbrethorst
Copy link
Member

Closing in favor of #1469, which includes all of the KiedyBus assets present on this branch.

aaronbrethorst added a commit that referenced this pull request Jan 29, 2026
Refactor build.gradle to use external flavor configuration files:
- Move oba, agencyX, agencyY flavors to flavors/*.gradle files
- Add auto-loader that applies all *.gradle files from flavors/
- Reduces build.gradle by ~130 lines, improves maintainability

Add KiedyBus (Poland) white-label brand using placeholder system:
- Minimal resources: only app_name override needed (~5 lines vs 664 in original PR)
- Blue theme (#2196F3), custom regions API, Polish locale support
- Launcher icons extracted from PR #1439

This demonstrates the scalable white-label architecture where new brands
only need a flavor config file and minimal resource overrides.
theKimSingh pushed a commit to theKimSingh/onebusaway-android that referenced this pull request Feb 18, 2026
Refactor build.gradle to use external flavor configuration files:
- Move oba, agencyX, agencyY flavors to flavors/*.gradle files
- Add auto-loader that applies all *.gradle files from flavors/
- Reduces build.gradle by ~130 lines, improves maintainability

Add KiedyBus (Poland) white-label brand using placeholder system:
- Minimal resources: only app_name override needed (~5 lines vs 664 in original PR)
- Blue theme (#2196F3), custom regions API, Polish locale support
- Launcher icons extracted from PR OneBusAway#1439

This demonstrates the scalable white-label architecture where new brands
only need a flavor config file and minimal resource overrides.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants